package com.xyauto.theme.network.error


/**
 * Created by gongziyi on 2021/5/13 17:58.
 */
class ResponseThrowable : Exception {
    var code: Int
    var errMsg: String

    constructor(error: ERROR):super(error.getValue()) {
        code = error.getKey()
        errMsg = error.getValue()
    }

    constructor(code: Int, msg: String):super(msg) {
        this.code = code
        this.errMsg = msg
    }
}

